# Scrapy settings for cotizaciones project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
#     http://doc.scrapy.org/topics/settings.html
#

BOT_NAME = 'cotizaciones'

SPIDER_MODULES = ['cotizaciones.spiders']
NEWSPIDER_MODULE = 'cotizaciones.spiders'

# Crawl responsibly by identifying yourself (and your website) on the user-agent
USER_AGENT = 'Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0)'

ITEM_PIPELINES = {
        'cotizaciones.pipelines.CotizacionesPipeline': 100,
        }

# DATABASE
POSTGRESQL_HOST = 'localhost'
POSTGRESQL_PORT = '5432'
POSTGRESQL_DB = 'elremate'
POSTGRESQL_USER = 'remate'
POSTGRESQL_PASSWORD = 'el#r3m4t3'
POSTGRESQL_TABLE = 'gestion_cotizaciones'
